#ifndef __TPS_TYPEOF_H__
#define __TPS_TYPEOF_H__

#ifdef _MSC_VER
#if (_MSC_VER >= 1600)
#define TPS_TYPEOF(expr_) \
	decltype(expr_)
#else
#include "tps_msvc_typeof.h"
#endif
#elif (__GNUC__)
#define TPS_TYPEOF(expr_) \
	typeof(expr_)
#else
#error TPS_TYPEOF not implemented
#endif

#endif	// !__TPS_TYPEOF_H__
